# -*- coding:utf-8 -*-
"""
Author：Administrator
Date:2021年12月08日
"""
import pandas as pd
import matplotlib.pyplot as plt

plt.rcParams['font.sans-serif'] = ['SimHei'] # 解决中文乱码问题
df = pd.read_excel('../source/体温.xls')
x = df['日期']
y = df['体温']
# fig = plt.figure(figsize=(5, 3), facecolor='yellow')
plt.plot(x, y, color='m', linestyle='-', marker='o', mfc='w')  # mfc为填充颜色
plt.xlabel('2020年2月')
plt.ylabel('基础体温')
plt.show()
print(df.head())